package com.poposchool.project.exception;

import lombok.Getter;
/**
 * @Author Wang Jie
 * @Date 2022/6/28 13:14
 * @Version 1.0
 */

/**
 * 自定义异常
 */
@Getter
public class ServiceException extends RuntimeException{
    private String code;

    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }
}
